﻿using Microsoft.Practices.Prism.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HeyPiPi_Desk.Models
{
    /// <summary>
    /// 店员基本信息
    /// </summary>
    public class AssistantDataModel:NotificationObject
    {
        private int _id;

        //主键
        public int Id
        {
            get { return _id; }
            set { _id = value; this.RaisePropertyChanged(() => this.Id); }
        }

        private string _name;

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name
        {
            get { return _name; }
            set { _name = value;this.RaisePropertyChanged(() => this.Name); }
        }

        private string _phone;

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Phone
        {
            get { return _phone; }
            set { _phone = value;this.RaisePropertyChanged(() => this.Phone); }
        }

        private string _sex;

        /// <summary>
        /// 性别
        /// </summary>
        public string Sex
        {
            get { return _sex; }
            set { _sex = value;this.RaisePropertyChanged(() => this.Sex); }
        }

        private string _job;

        /// <summary>
        /// 岗位
        /// </summary>
        public string Job
        {
            get { return _job; }
            set { _job = value;this.RaisePropertyChanged(() => this.Job); }
        }


        private double _deduct;

        /// <summary>
        /// 提成
        /// </summary>
        public double Deduct
        {
            get { return _deduct; }
            set { _deduct = value;this.RaisePropertyChanged(() => this.Deduct); }
        }

        private string _state;

        /// <summary>
        /// 状态
        /// </summary>
        public string State
        {
            get { return _state; }
            set { _state = value; this.RaisePropertyChanged(() => this.Deduct); }
        }




    }
}
